package cn.itsource;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

/**
 * 📖：beishan
 * 🗓️：2024/3/25 16:53
 * =====================
 */
@SpringBootApplication
@EnableFeignClients
public class DriverRun {
    public static void main(String[] args) {
        SpringApplication.run(DriverRun.class,args);
    }
    //注册bean
    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    };
}
